{{extend 'layout.html'}}
<script src="{{=URL(r=request,c='static',f='nicEdit.js')}}" type="text/javascript"></script>
<script><!--
jQuery(document).ready(function(){
new nicEditor({fullPanel : true, iconsPath : '{{=URL(r=request,c='static',f='nicEditorIcons.gif')}}'}).panelInstance('body');
});
//--></script>

<h1>{{=T("Editing file")}} "{{=filename}}"</h1><br/><br/>

<form action="{{=URL(r=request,f='edit',args=filename)}}" method="post">
<input type="submit" value="{{=T('save')}}"/><br/>
<textarea style="width: 100%; height:400px" id="body" name="data">{{=XML(data)}}</textarea>
